package com.sdl.dagger.di.component;

import android.content.Context;
import android.view.WindowManager;

import com.sdl.dagger.DaggerApplication;
import com.sdl.dagger.MainActivity;
import com.sdl.dagger.di.annotation.App;
import com.sdl.dagger.di.module.AndroidModule;

import javax.inject.Singleton;

import dagger.Component;

/**
 * Created by 11870 on 2017/3/6.
 */
@Singleton
@Component(modules = AndroidModule.class)
public interface ApplicationComponent {

    void inject(DaggerApplication application) ;

    void inject(MainActivity activity) ;

    WindowManager getWindowManager();

    Context getContext();
}
